import instance from "@/axios";

export const getArticlePageList = (data) => {
    return instance({
        url: '/article/list',
        method: 'POST',
        data
    })
}
export const getArticleDetail = (articleId) => {
    return instance({
        url: '/article/detail',
        method: 'POST',
        data: {articleId}
    })
}